home *** CD-ROM | disk | FTP | other *** search
- shader()
- {
- pass()
- {
- Lighting()
- tmu()
- {
- TexGen("planar")
- TexMod("scale", "const", %terrainsize, 0, 0, "const", %terrainsize, 0, 0)
- texture()
- {
- Image(%colortexture)
- addressfunc("clamp", "clamp", "clamp")
- }
- }
-
- tmu()
- {
- TexGen("planar")
- TexMod("scale", "const", 0.00256, 0, 0, "const", 0.00256, 0, 0)
- texture()
- {
- Image("Grid.png")
- addressfunc("wrap", "wrap", "wrap")
- filtering("anisotropic_mip_linear")
- anisotropy(8)
- }
- }
-
- AmbientColor(0.250, 0.250, 0.250, 1.000)
- DiffuseColor(1.000, 1.000, 1.000, 0.5000)
- SpecularColor(0.500, 0.500, 0.500, 1.000)
- EmissiveColor(0.000, 0.000, 0.000, 1.000)
- SpecularPow(20.000)
- }
-
- cull("ccw")
-
- }
-
-